#ifndef ERROR_CODE_H_
#define ERROR_CODE_H_

#define INVALIDPATH -1
#define INVALIDFILENAME -2
#define INVALIDDIRNAME -5
#define SUCCESSFUL 0
#define UNSUCCESSFUL -3
#define DUPLICATE -5
#define NOT_EMPTY -6
#define movedir_NOT_A_DIR_FAILURE 006
#define movedir_ALREADY_IN_DEST 016
#define movedir_SUCCESS 106
//Please mearge them with vfs_errorcodes.h

#define NOTFOUND -1
#define FOUND 0
#define SUCCESS 0
#define FAILURE -1



#define CHARSIZE 256
#define DATASIZE 1024
#define PATHSIZE 256
#define TYPESIZE 4
#define ARRAYSIZE 50
#define FILESIZE 1024
#define MAXFD 100
#define MAXSIZE 1000000
#define BLOCKSIZE 1024


typedef enum {
  IN_ORDER,
  PRE_ORDER,
  POST_ORDER,
  LEVEL_ORDER
} traversal_type;


typedef enum{
IS_DIR,
IS_FILE
}li_search;


#endif /* ERROR_CODE_H_ */

